﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
        <asp:DataList ID="DataListAlbum" runat="server" RepeatColumns="3" 
    DataKeyField="AlbumID" onitemcommand="DataListAlbum_ItemCommand">
            <ItemTemplate>
            <div id="list">
                    <div id="image">
                        <img src="Styles/images/music.jpg" />
                    </div>
                    <div id="title">
                       Album : <asp:Label runat="server" ID="lblTitle" Text='<%# Eval("title") %>' ></asp:Label>
                    </div>
                    <div id="artist">
                       Artist : <asp:Label runat="server" ID="lblAristName" Text='<%# Eval("Name") %>'></asp:Label>
                    </div>
                    <div id="price">
                       Price : <asp:Label Text='<%# Eval("Price") %>' runat="server" ID="lblPrice"/>
                    </div>
                    <div id="addcart">
                        <asp:Button Text="Đặt hàng" CommandName="AddToCart" runat="server" ID="btnAddToCart" />
                    </div>
            </div>
            </ItemTemplate>
        </asp:DataList>
    
</asp:Content>

